<?php
$lettre=@$_REQUEST['lettre'];
$action=@$_REQUEST['action'];
$cheat=@$_REQUEST['cheat'];
$session=@$_REQUEST['session'];
$urlServer=@$_REQUEST['url'];
$mot=@$_REQUEST['mot'];
$word=@$_REQUEST['word'];

if ($action!="")
{
	$urlServer.="?action=". $action;
}
if ($lettre!="")
{
	$urlServer.="&lettre=".$lettre;
}
if ($session!="")
{
	$urlServer.="&session=". $session;
}
if ($cheat!="")
{
	$urlServer.="&cheat=" . $cheat;
}
if ($mot!="")
{
	$urlServer.="?mot=" . $mot;
}
if ($word!="")
{
	$urlServer.="&word=" . $word;
}

$handle = fopen($urlServer, "r");
if (!$handle) 
{
	print "erreur<hr>";
	exit;
} 
else
{
	fpassthru($handle);
}
?>

